﻿using SF.Common;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace SF.Ucenter.mall
{
    public partial class detailed : System.Web.UI.Page
    {
        protected string usingMsg = "", jsMsg = "", htmlMsg = "";
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                /*验证用户是否登录*/
                if (Session[DTKeys.SESSION_ADMIN_INFO] as Model.sf_user_info == null)
                {
                    Response.Redirect("index.aspx");
                }
            }
            string id = Request.Params["id"];
            Model.sf_user_info userinfo = Session[DTKeys.SESSION_ADMIN_INFO] as Model.sf_user_info;
            string templateType = new BLL.sf_modeconfig().GetModel("settingNum='" + userinfo.templatesNum + "'").call_encoding;
            SF.Web.UI.mallCs.detailed loadingDetailed = new Web.UI.mallCs.detailed();
            usingMsg = loadingDetailed.loaddingUsing(userinfo, templateType);
            jsMsg = loadingDetailed.loaddingJs(userinfo, templateType);
            htmlMsg = loadingDetailed.loaddingHtml(userinfo, id, templateType);
        }

    }
}